Yes, it is. I believe every state has a law against it. I'm not sure if there is a federal law.
Isnt that why they keep political partisans a certain distance away?
Yes. In Illinois, this is the law:
http://codes.lp.findlaw.com/ilstatutes/10/5/17/17-29
Sec. 17‑29. (a) No judge of election, pollwatcher, or other person shall, at any primary or election, do any electioneering or soliciting of votes or engage in any political discussion within any polling place, within 100 feet of any polling place, or, at the option of a church or private school, on any of the property of that church or private school that is a polling place; no person shall interrupt, hinder or oppose any voter while approaching within those areas for the purpose of voting.
Give me a few minutes, and I'll see if I can find if it's a criminal offense.
Here is Hillary Clinton doing it in 2008.
http://backdoorview.blogspot.com/2008/11/footage-of-sitting-senator-casually.html
http://codes.lp.findlaw.com/ilstatutes/10/5/29/29-12
Sec. 29‑12. Disregard of Election Code. Any person who knowingly (a) does any act prohibited by or declared unlawful by, or (b) fails to do any act required by, this Code, shall, unless a different punishment is prescribed by this Code, be guilty of a Class A misdemeanor.
If she just advocated that everyone should vote, that's not electioneering. But, if she even hinted at supporting any candidate, party, or agenda, then she should be arrested and charged.
I'm not holding my breath.