From Wiktionary, the free dictionary
Literally, “to be in the fig tree”.
estar en la higuera (first-person singular present estoy en la higuera, first-person singular preterite estuve en la higuera, past participle estado en la higuera)
- (idiomatic) to have one's head in the clouds