Yoshi himself is male, but the species isn't uniformly so — female Yoshis appear on Yoshi's Island and elsewhere in the series.
Nintendo has never been systematic about it, so the honest answer is that Yoshi is a boy and other Yoshis can be either.