The thing is that while voting matters collectively, it’s insignificant individually: https://en.wikipedia.org/wiki/Paradox_of_voting
Nonvoters aren’t being irrational.