verb/ɛ.tʁə dɑ̃ la lyn/
to be lost in reveries; to be away with the fairies; to be daydreaming; to be in another world; to be distracted; to be absent-minded
Synonyms: avoir la tête en l’air, avoir la tête dans les étoiles, être sur sa planète, distrait, inattentif
Literally, “to be in the moon”.