If you mean to create a method that returns "1" if the check box is checked, then this is your code.
Add a check box with the name "checkBox1" to your form
create the following method:
private int CheckTheBox()
{
if(checkBox1.Checked)
return 1;
else
return 0;
}