It is a combination of "head" and "ass", implying that the person is stupid, foolish, or lacking in understanding.
It's important to remember that using such language is never acceptable and can be hurtful.
If you're looking for a way to express disagreement or frustration, there are many more respectful and constructive ways to do so.