It means unequal treatement to equals. If all hindus r not allowed to enter into a temple(ie if some hindus r barred from entering on grounds of caste) it is discrimination.
Non-hindus are not same as hindus in beliefs. So not allowing non-hindus in Hindu temple is NOT "discrimination".