Sparse distributed memory is what you’re looking for.

https://en.wikipedia.org/wiki/Sparse_distributed_memory