In this research study, we designed a 1D PnC sensor to monitor the smallest changes in the concentrations of NaCl. Here, we have considered a symmetric 1D PnC consisting of two mirror PnC designs, and a cavity layer filled with NaCl solution in-between. The proposed sensor manipulates two concentration ranges: low range 0-4% (seawater concentrations) and high range 0-60% (industrial concentrations). In the transmission spectra, a localized resonant mode shifts towards lower frequencies (7.6706 x 10(5) Hz-7.6559 x 10(5) Hz) with increasing the salinity concentration (0-4%). Moreover, all resonant modes have roughly high transmission intensity (99%). Also, the displacement of these modes, sensitivity, and other parameters are greatly changed when the concentration grows from 0 to 60%. In addition, we have discussed the effect of fabrication tolerance on the performance of the suggested sensing tool. Meanwhile, the numerical results demonstrated a negligible effect of this parameter on the performance of the proposed sensor. Therefore, we believe that the present sensor is better than 1D and 2D PnC, electrochemical and optical designs. In particular, it may be characterized by radiation losses reduction and high stability with temperature changes.