Assign 1 to variables with a boolean meaning.

A very simple code improvement.