Loaches in general are not easy to tell the sexes apart. Male yoyo loaches are a little slimmer than females at all times. But if you have a yoyo loach pregnant female the difference is even more obvious. Comparing your fish from above is the easiest way to sex them.