This paper presents a 3D model aiming at investigating the out-of-plane collapse behavior of multi-leaf non-periodic masonry walls. These structural elements are widely employed in several constructions that are part of the European architectural heritage, but have been seldom addressed in the available literature due to their natural complexity and uniqueness. Specifically, the model here proposed allows a quick assessment of the out-of-plane collapse behavior of multi-leaf walls through the extraction of out-of-plane homogenized failure surfaces, acting as macroscopic failure criteria in bending and torsion. These failure surfaces are obtained after solving a standard-form linear programming problem written into a MATLAB script, which exp...