Measuring current from a digital pin with analogRead

All you need to do is to make the pin into a digital input and enable the internal pull up resistors. Then the digital input goes to one piece of foil and the other is connected to ground. Then you read a 1 when there is no piece in place and zero when there is.