TORONTO — Gleyber Torres returned to the lineup Sunday at shortstop when Didi Gregorius was given the day off against the Blue Jays.

Torres missed the previous four games with what the Yankees are calling a core issue.

“I don’t know exactly what the terminology is,’’ Aaron Boone said of his All-Star second baseman who went for tests in New York last Sunday and again Wednesday. “He is having a core issue.’’

Torres went 0-for-3 and was involved in two double plays the Yankees turned in the eighth and ninth innings of a 1-0 win.

“Couple of big plays in the field and I thought he got off a couple of good swings, the one he flew out to right and a runner on second and getting that guy over. I felt like he just missed clipping that ball,’’ Boone said. “Checking on him in the middle of the game he said he was good so hopefully that’s the first step of him getting back into the fold.’’

Twenty-seven and growing.

That describes the Yankees’ injured list after placing lefty reliever Stephen Tarpley on the 10-day IL with an impingement in his elbow a day after he worked 2 ¹/₃ innings against the Blue Jays and threw 57 pitches.

“I don’t know how it happened, it is not one pitch,’’ Tarpley said. “A couple of pitches didn’t feel right.’’

Tarpley underwent x-rays on Saturday and could undergo further testing Monday when the Yankees play the Orioles in a doubleheader at Yankee Stadium.

“The x-rays didn’t show too much. I will have more news Tuesday,’’ said Tarpley, who didn’t think throwing 51 pitches in Baltimore on Tuesday and 57 Saturday was the reason for the problem.

The discomfort was something Tarpley attempted to deal with.

“Something I tried pushing through but it got to a point,’’ Tarpley said. “I am not super nervous but want to stay on top of it and keep fingers crossed. Hoping it’s nothing serious.’’

Sunday was the second straight day the Yankees put a reliever on the shelf after Jonathan Holder went on the IL Saturday with an inflamed right shoulder.

According to Boone, Tarpley wanted to stay away from the IL but with a doubleheader on Monday and the Yankees using a reliever to start one of the games, the Yankees decided to disable Tarpley.

They promoted right-hander Brady Lail and lefty Joe Mantiply from Triple-A Scranton/Wilkes-Barre and optioned infielder Breyvic Valera to SWB. That left Boone with a two-man bench of Gregorius and Cameron Maybin for Sunday’s game.

“[Tarpley] actually wanted to stay off [the IL]. With our situation he was going to be down a few days. We are playing it a little cautious here,’’ Boone said.

Lail, 27, has been in the Yankees’ minor league system since 2012 when he was taken in the 18th round of the draft and re-signed with the organization this past off-season. He has pitched for Single-A Tampa, Double-A Trenton and SWB this season, going 4-1 with a 2.79 ERA in 20 games (one start).

Mantiply, 28, was acquired from the Reds on Thursday for cash and had been pitching for Triple-A Louisville and was assigned to the SWB roster. He hadn’t pitched for SWB since joining the team. His major league experience consists of five games for the 2016 Tigers.

Barring any further problems with his right knee CC Sabathia will rejoin the Yankees rotation this week during a four-game series against the Indians that begins Thursday at Yankee Stadium.

Sabathia, who has been on the IL since July 28, threw a bullpen session before Sunday’s game which went well.

“He will probably throw another bullpen on Tuesday and if that goes well [he’ll be activated] sometime in the series against Cleveland,’’ Boone said.

Dellin Betances and Luis Severino are scheduled to throw bullpen sessions Monday at Yankee Stadium.