Question: is it illegal to have a crack in your windshield?
Answer: Yes, it's illegal and, depending on where the crack is and how deep the crack is, the police can pick you up for having a windscreen that's defective. There are actually several reasons why it is illegal to drive with a cracked or smashed windscreen, starting with the crack potentially obscuring your vision.