我昨天来了,了in here means the action is done and finished .了is after the verb.
我是昨天来的, 是,,,,的 emphasizes the time, the place ,the way of doing something, or the agent who does it. what is emphasized must be something that has already taken place.
i hope that can help you.