An insane or eccentric person who has little grip on reality.
A person who is difficult to work with.