From what you've told us about him, either he is deliberately obnoxious and gets a kick out of grossing people out, or he genuinely struggles with social interactions. The former requires reprimanding; the latter, counselling and understanding. Think carefully about which category he falls into.
But this has nothing to do with inviting him to your wedding. Stick to your plans about that.