It is not a crime, but intentionally missing a connecting flight is almost always a violation of the airline's contract of carriage, which you accept every time you buy a ticket. This practice is known as “hidden city” ticketing, and is sometimes used by customers to buy a cheaper ticket.