0 is not even or odd, by the way.
If the number is only going to be a 1 or a zero, and you want the format to be applied if it is a 1, that is actually much simpler.
Select the row.
In Conditional Formatting, us "Formula Is":
=IF($A$1,1,0)
A1 being the target cell with the 1 or the 0.