A nicer way of calling someone stupid or just flat out wild. It can be used to say someone has a mental disability without saying it at the same time.
Don't make fun of him for failing, he doesn't have it all.