We develop the method of similar operators to study the spectral properties of unbounded perturbed linear operators that can be represented by matrices of various kinds. The class of operators under consideration includes various differential operators with an involution, such as one-dimensional Dirac operators of a certain type.