A specific crime can be rational for one person and not for another.
Assuming you have people who are thinking clear (not on crack or what not), and not committing a crime out of the excitement (think vandalism) it can depend on life circumstance on whether or not a particular crime is rational. Imagine I accurately know the chance of getting caught for stealing a car and I can get $500 for it at a chop shop. If I need to pay rent or pay for food or heat for my family I am more likely to steal the car than if I just wanted a new pair of shoes and a jacket. The down side is the same, going to jail, paying a fine, stigma in society but the upshot is much higher if I succeed, providing for my family, being warm and safe from environment.
It is not alway irrational to commit a crime (assuming we have a goal of our own or those we care about wellbeing and not those impacted). What determines the rationality is the chance of getting caught and what happens if we do not commit the crime.