Inner

The inner product of two boolean matrices:

Inner works with tensors of any depth: