In this paper, we introduce a special set in a $BCK$-algebra, and we give an example in which special set is not an ideal. We obtain a condition for this special set to be an ideal. Using this special set, we establish an equivalent condition of an ideal.