is it illegal to collect rainwater?

best answer
The short answer is that rainwater harvesting is not illegal on a federal level. The longer answer is Water laws are handled on the state level and should be inquired upon with local legislatures.