got your head in the clouds

Someone who has got their head in the clouds is someone who always has unrealistic ideas and thoughts and often lives in a dream world where they fantasize about things more than they see reality. This is a figurative way of saying that this person prefers to live in fantasy, dream-like state of mind where they are optimistic to the point of their ideas and hopes and dreams being unrealistic.