cross one's mind
• (of a thought) occur to one, especially transiently.
• "it had not crossed Flora's mind that they might need payment"
Similar:
occur to one,
come to one,
come to mind,
spring to mind,
enter one's mind/head,
strike one,
hit one,
dawn on one,
come into one's consciousness,
suggest itself,