Using "Analog" pins as digital inputs - cant seem to get it working

just post your whole code - that is easier for anyone to review
and if it is long create a small sketch that shows the problem.

try this

    if (digitalRead(A0) == LOW)  // more explicit
    {
        Serial.println("got A0 LOW");
    }
    else
    {
        Serial.println("got A0 HIGH");
    }