Mitochondrial DNA endonuclease involved in intron homing. Encoded from partially processed ndh-5 mRNA that terminates with the in-frame coding sequence of the first intron. In the N-terminal section; belongs to the complex I subunit 5 family. In the C-terminal section; belongs to the LAGLIDADG endonuclease family.