It's a very informal and often offensive way to describe someone who is lacking in understanding or common sense.
It's important to note that using this phrase can be hurtful and disrespectful. It's better to avoid using it and instead focus on using more respectful and constructive language.