Logic multicompare

It compares a list of inputs to each other. All values are integers.