Welcome to AA! I'm sorry to hear that your fish died. I'm not too familiar with clown loaches, except that they are sensitive to ammonia. Do you check ammonia, pH, nitrates, and nitrites in your tank? Knowing these details can help narrow down the cause of death. Also, the list of other tankmates and the size of the tank would help too.