Sorry, just kidding. It simply means someone's head isn't functioning well. So you might want to just say "Something's wrong with him/her"....