Lawmakers are crafting a bill to let the state detain illegal migrants for up to a year and half, an MK said Tuesday, one month after legislation allowing for three years of detention was struck down by the High Court of Justice.