adds new operator: checks whether an element is present on both arrays