Yes marrying another person during the subsistence of previous marriage is a crime of bigamy and is punished under section 494 of IPC having imprisonment of a term which may extend to 7 years.
So, when your spouse get to know about your second marriage, she can file an FIR against you and you will be prosecuted accordingly for the said committed offence.