Call function with merge of 2 booleans