NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define SENSOR_MODE_BOOL   IN_MODE_BOOLEAN

Boolean value (0 or 1)

Examples:
ex_HTRCXSetSensorMode.nxc, and ex_MSRCXSetSensorMode.nxc.