In the paper, the authors establish a general inequality for the hyperbolic functions, extend the newly-established inequality to trigonometric functions, obtain some new inequalities involving the inverse sine and inverse hyperbolic sine functions, and apply these inequalities to the Neuman–Sándor mean and the first Seiffert mean.