Endstops will not trigger using Marlin Firmware
try uncommenting the following lines to enable endstop detection on all pins for troubleshooting.

//#define USE_XMAX_PLUG false
//#define USE_YMAX_PLUG false
//#define USE_ZMAX_PLUG false


This way the M119 will show any changes.

The only thing I can think of is that either the switch is plugged into the wrong pin on the ramps board (Max instead of Min) or the switch doesn't require the pullup (your could try commenting that back as a second test as well)