Have one’s head in the clouds

To be unaware of what is going on.

The boy has his head in the clouds and does not think about what is going on around him.