Boolean datatype

boolean datatype code is not running. please give me another code.