Help with Arduino Mkr Zero

Afaik, it should be OK to use INPUT_PULLUP. I always thought the default mode was an internal reference voltage anyway. You maybe want to search this forum about it more.

If you read the Arduino page on digital pins, you might gain more insights. Some applications call instead for using a stronger external pullup too.

Forgot to mention before, but perhaps see how things look with a backup multimeter if you have one.