Ho messo

var foto_singola = document.form1.foto_singola;

if(foto_singola.checked == false)
{

alert("Selezionare il check");

}

oppure

if(!foto_singola.checked)
{

alert("Selezionare il check");

}

e su html

<form name="form1" id="form1" method="post" action="">
<input type="checkbox" id="foto_singola", name="foto_singola" value="1">
<input type="submit" name="controllo" value="Controlla">
</form>
Ma non funziona!
perchè?