As long as you cook it for the appropriate amount of time, pasta will not turn to mush when cooked in the Instant Pot. As a rule of thumb, you should take the stovetop cooking time on your pasta package and divide it in half. Then subtract 1. For more al dente pasta, subtract 2. For softer pasta, only divide the time in half.