Code analyze need help please

yes I knew it.
it was a multi subs sketch.

actually the question may be simple? if as below how to get "0" or "1" by:

static boolean checkMap(x1, x2, x3)
{}