1,013. The Only Difference Between the First and Second Day of Yom Tov
Shvisas Yom Tov 1:22
Even though the second day of yom tov is of rabbinic rather than Biblical origin, whatever is prohibited on the first day is likewise prohibited on the second. If a person violates the second day of yom tov - including the second day of Rosh Hashana - whether by doing something that was prohibited to encourage rest, performing a forbidden act of labor, or traveling beyond the Shabbos boundary, he is punished with the lashes given for acting rebelliously or placed under a ban. This latter penalty was not imposed on Torah students. Just as we may not eulogize or fast and we are required to rejoice on the first day of a Festival, the same rules apply on the second day. The only difference between the first and second day of yom tov is how we deal with a corpse, as will be immediately addressed.
Shvisas Yom Tov 1:23
On the first day of a Festival, non-Jews should be involved with the burial of the deceased; on the second day things should be handled by a Jew. This includes whatever is necessary for the burial: making the casket, sewing the shrouds, picking necessary herbs, etc. When it comes to a corpse, the second day of yom tov is treated like a regular weekday, even the second day of Rosh Hashana.