A year could also NOT be reasonable. Terms like "reasonable" are not precise, and thus result in considerable litigation. There are a number of questions raised by your question: 1) did you sign the agreement AFTER you were laid off? 2) were you paid anything extra for the noncompete -- more than what you would otherwise have been paid?; what industry are you in? Etc.
You should see a qualified employment lawyer IMMEDIATELY - go to www.welaweb.org for a list of lawyers who represent employees throughout the state. Good luck.