to be thinking about sth that is not connected with what you are doing
to be thinking about sth that is not connected with what you are doing
to have ideas, plans, etc. that are not realistic
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition