One sigmoid neuron is already a classifier. It takes a weighted sum of the features and squashes it into a probability, so the line where the weighted sum is zero splits the plane into two predictions. Training picks the line, and also how sharp the change is across it, by making the true labels as likely as possible.