Source
I JUST DISCONNECTED FROM TWO GAMES! AM I GOING TO GET BANNED?
No, your account will not be banned. However, it is possible to be punished for leaving just 1-2 games. Players who leave games will be placed in a low priority queue and will be required to play 5 matchmade games without leaving before exiting low priority queue.
Note: Leaving ranked games is considered more severe than leaving normal games.
Bans are issued, just not for 1-2 games. 1-2 games can get a LPQ, but it's more frequent that it's more games than that.
LeaverBuster is a system we have implemented in order to discourage Summoners from repeatedly leaving matches and/or idling during gameplay. Summoners who exhibit this behavior and have a trend of leaving/idling in games will be placed in a low priority queue.
Emphasis mine
After leaving several games, you'll receive a notification that you've entered the low priority queue.
Note that this isn't contradictory to above, but it's merely saying that "several" is almost a guarantee to be LPQed
The general understanding is that one game of leaver for anyone who's a semi-regular player doesn't result in punishment. The only time one game results in punishment is if its a very new person or someone who plays very infrequently. Usually 3-4 or more within a short time gets a LPQ.
The system doesn't issue bans, only LPQ. Bans are issued manually infrequently based on reports from players and/or system flagged leavers after a long-term pattern of intentionally leaving games. Thus, there's no way for you to know if they're punished or not, as they'd be hit with LPQ, which isn't publicized.