idiom
have your head in the clouds
estar en las nubes o no prestar atención a la realidad
Meaning
to be daydreaming or not paying attention to reality
Example
He was **having his head in the clouds** during the lecture.
Él estaba **teniendo la cabeza en las nubes** durante la conferencia.