Fetching details from the dictionary...
to adjoin each other; to sit side by side
飛行機で席が隣り合った。
We ended up sitting next to each other on the plane.
その公園には隣り合っている建物がある。
There are adjoining buildings in that park.
この二つの国は長い国境を挟んで隣り合う。
These two countries adjoin each other across a long border.