
Out to lunch
Metaphorical Use
The phrase is not about eating, but suggests someone's mind is elsewhere. 
Informal Setting
It's casual language and fits best in informal dialogue or narration. 
Figurative Interpretation
Understand it's a figure of speech for not being mentally present. 