Nano digitalRead on analog pins [solved]

Good Morning all!

Im having trouble with reading a digital signal on an analog pin (Nano v3.0). When 5v is applied to the pin (A6) the digitalRead returns LOW but analogRead returns 1023. Has anyone had this issue before? have I somehow defined LOW and HIGH?

Thanks

After further research I have found my soloution on the forum.

http://arduino.cc/forum/index.php/topic,123176.0.html

The analog pins A6 and A7 can't be used as digital.