Get rid of the quotations in your formula.

=IF(B3>A3,"1","0")

should be

=IF(B3>A3,1,0)