true==!false

Although the value of truth is much debated among philosophers, it is a matter of almost universal acceptance among computer scientists that true is equal to 1. Java coders may disagree, saying that implicit type casts are not allowed, but they have always been untruthful.

Hardware types will attempt to claim that true is some voltage above ground. See 3.3v and 5v.