Zero crossing detector using 311 comparator
You are correct. The diagram is weird as it is using logic inverter symbols for an analog comparitor and I suspect the author confused him/herself with this.


When IN+ goes high the comparator (trianglular part) goes high and the inverter (circle after the triangle) makes it low and turns off the NPN transistor. The output is then pulled heigh.