Voting is not averaging labels

Three classifiers predict category labels A, A and B. What is the plurality result, and why does the numerical squared-error identity for a mean not prove anything about this vote?

A wins with two votes. Category names are not numerical values, and zero-one classification loss after a vote is not squared loss of an average.