In this research article, a novel all‐optical directional coupler switch is designed with multifunctionality for various optical network applications. The analog Silicon (Si) and Silicon Dioxide (SiO2) based annular crystal nano‐resonator in photonic crystal (PC) platform is used to realize the 2 × 2 structure and is further explored. The proposed structure dimensions are predicted by using Machine Learning (ML) based random forest regression model, design and numerical analysis is carried out using Finite‐Difference‐Time‐Domain (FDTD) method. Dataset records are collected by varying the input launch type, operating wavelength, and annular photonic crystal (APC) dimensions, the electric field and normalized power values in all ports are calculated. Optical network devices with high‐performance is realized, such as an optical coupler switch, wavelength selective switches (WSS), slow light device, and an optical multiplexer. Hence, the reported photonics platform with a compact size of 98.96 µm2, fast response time, and high extinction ratio providing multifunctional operation with quantum computing is more appropriate for microwave photonics, optical interconnects, and quantum computing.