It is a boolean logic:
Either there will be such country (1) or no such country (0).
We are having two variables; India and Nepal.
The AND operation will result TRUE only if Border(c,India) is (1) and Border(c,Nepal) is (1).
And if we are having 1 from last two variables, the only case that give TRUE(1) is when we are having AND with Country(1).