The paper introduces two binary metaheuristic algorithms, the s-shaped binary sine cosine algorithm (SBScA) and the v-shaped binary sine cosine algorithm (VBScA), designed for feature selection in medical datasets. These algorithms aim to enhance classification accuracy by eliminating redundant or irrelevant features, leveraging a continuous search space converted into binary vectors. Experimental results demonstrate that both proposed algorithms outperform four existing binary optimization methods across multiple datasets.