My X and Z axis limit switches work but my Y limit will not. Any ideas?

First time configuring machine.

Make sure they are connecting to the correct pins on the Arduino.

GRBL 0.8
X=9
Y=10
Z=11

GRBL 0.9
X=9
Y=10
Z=12

If everything is connected to the proper pin, make sure the wiring is done the same for each switch.