SiPM-coupled Cs2LiYCl6:Ce3+ (CLYC) detectors are widely used for detecting neutrons and gamma rays in mixed radiation environments. Intensities and energies are obtained from the output pulses of the detector, including normal and anomalous pulses. Since anomalous pulses can negatively affect measurement accuracy, this study designs a pulse selection algorithm to improve them. This algorithm calculates the ratio of the mean to the standard deviation of an output pulse in a particular time window and categorizes it as normal or anomalous. The algorithm also uses the difference in ratio value between neutrons and gamma rays for pulse shape discrimination. In an experiment using a SiPM-coupled CLYC detector, 200,000 sets of pulses were obtained for 137Cs and Am-Be sources. The results indicate that this method can reject more than 94.2% of anomalous pulses, improving the energy resolution of 137Cs source from 8.9% @ 662 keV to 8.4% @ 662 keV. The figure-of-merit (FOM) of pulse shape discrimination is 1.23 for the Am-Be source, and this method can select specific pulse types based on the pulse-ratio value. In addition, the method is suitable for all pulse-mode detectors.