idiom
have your head in the clouds
Meaning
to be daydreaming or not paying attention to reality
Example
He was **having his head in the clouds** during the lecture.