cross (one's) mind
To be thought of by one. Take time to form your response to the interviewer—don't just blurt out the first thing that crosses your mind. I haven't thought of my high school English teacher in years, so I'm not sure why she crossed my mind today.
cross somebody’s ˈmind
(often used in negative sentences) (of a thought, etc.) come into somebody’s mind for a short time: He intended to marry her and the thought never crossed his mind that she might refuse.It had crossed my mind that I hadn’t seen her for a long time so I decided to ring her.