I suspect your AND will return HIGH if both inputs are HIGH or both inputs are LOW
not sure that's what I'd expect
the comments in setup are confusing
pinMode(4,INPUT); // pin 3
pinMode(3,INPUT); //pin 2
pinMode(0,OUTPUT); //pin 5
a) I would use #defines
b) why don't the numbers match!
IMOH
YMMV