Out to lunch
Since the 1960s is American slang for not paying attention or not attending to the task at hand, from the allusion to taking long lunches off work.