Just what it says - your function will return value -1 or 1.
You can use it in conditions or expressions. For example:
if Functions.CheckEnemies=-1 then go to layout "GameOver"
Where CheckEnemies is your function where you count enemies, bosses, and it can return different values.