As far as I understand it, once you have the list of states with helmet laws (or better yet, a list of states with helmet laws where the neighboring state does not have a helmet law, you would have to set an alert for the boarder point for every road that crosses the state borders between the two types of laws.