This paper introduces a novel hybrid approach, termed ZOA-SNN, for fault detection and identification in converter-interfaced microgrids. By integrating the Zebra Optimization Algorithm (ZOA) with Spiking Neural Network (SNN) technology, the proposed method provides a comprehensive solution suitable for both grid-connected and autonomous microgrid operation scenarios. The technique effectively isolates faults in the microgrid while maintaining operation continuity, particularly in islanded conditions. When operating in grid-connected mode, distributed generators (DGs) provide electricity as needed. When the grid is not available, power sharing amongst DGs is controlled by voltage angle droop control. By isolating malfunctioning portions, the proposed protection system reduces load shedding, while DG control guarantees smooth islanding and resynchronization. Evaluation on the MATLAB platform demonstrates the superior performance of the proposed technique compared to existing algorithms such as Augmented Lagrangian Particle Swarm Optimization (ALPSO), Graph Convolutional Network (GCN), and Buffalo Optimization (BO). With an accuracy, recall, precision, and F1-score reaching 98.5%, 99.2%, 99.1%, and 99.1%, respectively, the ZOA-SNN approach excels in fault detection and classification. Additionally, it significantly reduces computation times for parameter calculation, enhancing efficiency in microgrid control systems. These results highlight the innovation and advantages of the ZOA-SNN approach in enhancing the reliability and efficiency of fault detection systems in microgrid environments.