xkcd comics are already licensed under a Creative Commons Attribution-Noncommercial 2.5 license. That's probably all you need for a math team t-shirt.
No idea why it was initially downvoted, it's good information to point out. So long as you don't make money off the shirts, it's ok to use xkcd comics.