If a piece of information goes over someone's head, [they] do not understand it.
My teacher explained to me that it is informal usage for an indefinite pronoun, the formal usage should be "his or her".
If the first sentence is informal, I wonder if this is a formal one:
If a piece of information goes over someone's head, [he or she] does not understand it.