More than two-ary operations pop up in algebraic approach to CSP (constraint satisfaction problem). See e.g. http://www.ams.org/mathscinet-getitem?mr=2470592 or http://www.ams.org/mathscinet-getitem?mr=2137072