You were banned because you were reported - i.e. your chat affected someone.
If nobody reports in a game, Riot does not go on witch hunts looking for behavior. Riot uses the report feature to determine what the community and what the players in a particular game and ELO find acceptable. You cannot compare yourself to this other person and try and claim it is unfair merely because you were reported for negative behavior.
It is as if you are on a highway speeding along with every other car. This highway passes a school. A new family moves in and complains to the police that people are speeding near their kids' school so the police come out and start issuing tickets. Before, when nobody complained about it, it's just looked past as it mustn't be that bad if nobody was willing to report. The second someone is affected to the point they report, it no longer can just be looked past. It was never okay in the first place - however if nobody in his games thinks he's misbehaving to the point of deserving a report, Riot is not going to witch hunt him and punish him.