enter one's mind

Also, enter one's head. Occur to one, come into one's consciousness. This expression is most often used negatively, as in It didn't enter my mind that he'd want to join us, or Run for office? It never entered my head.

The American Heritage® Idioms Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company.