The irrational voter