And democracy is itself founded on a logical fallacy: The idea that if a lot of people agree on something, it must be right.
I think it's more founded on the idea that if one lot of people disagree with another lot of people, sticking a piece of paper in a box is preferable to tearing chunks out of each other.