internally distracted

When a person is unable to attend appropriately to the environment because he is preoccupied with his own thoughts and ideas.