returning 0 and 1 from sismember function instead of True and False