If TRISA = 1 you only have PORTA.0 configured as an input. If you're using A0 to A5 then
you'll need TRISA = %00111111.