Measuring current from a digital pin with analogRead

These techniques do assume that the switch has negligible resistance when it is closed.

Well no.

With a voltage required for a logic zero at 1.5V, and assuming the worst case (lowest ) pull up resistor of 30K, then your switch just has to have a resistance of 9K or less to register.