It's a motor/reflex thing that makes them seek out living beings and chomp down on them...the brain animates the body long enough for the senses to seek and detect those who are alive, then bite on them; the digestive system doesn't work anymore since their bodies are already dead.
Remember, Michonne was able to curb the biting reflex by removing the jaws and teeth of her boyfriend and friend.