I have a layer of statistical areas, and would like to obtain the contiguity matrix, that is, the matrix W in which an entry w_ij equals 1 if i and j are neighbors (share a border) and 0 otherwise.
There must be some simple tool to do this in ArcGIS, but I could not find it.