Task

Show how to represent the boolean states "true" and "false" in a language.

If other objects represent "true" or "false" in conditionals, note it.



Related tasks

   Logical operations


>> islogical(true)
 
ans =
 
     1
 
>> islogical(false)
 
ans =
 
     1
 
>> islogical(logical(1))
 
ans =
 
     1
 
>> islogical(logical(0))
 
ans =
 
     1
 
>> islogical(1)
 
ans =
 
     0
 
>> islogical(0)
 
ans =
 
     0