Boolean Settings

Can a boolean (true/false) setting be added to the settings extension? Or do I have to use 0,1 for true and false?