Hong-Ou-Mandel interference is an intrinsic quantum phenomenon that goes beyond the possibilities of classical physics, and enables numerous applications in quantum information science. While the photon-photon interaction is fundamentally limited to the bosonic nature of photons and the restricted phase responses from commonly used unitary optical elements, we present that a nonunitary material provides an alternative degree of freedom to control the two-photon quantum interference, even revealing anomalous quantum interference paths that do not exist in a unitary configuration. An elaborate lossy multilayer graphene that can work as a nonunitary beam splitter is used to explore its tunability over the effective photon-photon interaction in spatial modes, and to verify the particle exchange statistics by its experimental implementation in quantum state filter. This scheme is further extended to observe four-dimensional quantum interference patterns on the lossless and lossy beam splitters, and thus show its applicability even in higher-dimensional Hilbert space.