Nano digitalRead on analog pins [solved]

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.